package com.fh.rentcar.mapper;

import com.fh.rentcar.pojo.OrderDetail;
import com.fh.rentcar.pojo.Shops;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShopMapper {
    //城市查门店
    List<Shops> getShopsByCity(int cityId);
    //根据门店id
    Shops getShopById(int sid);

    //增加门店
    int addShops(Shops shop);

    List<Shops> getAllShop();
    List<Shops> getAllShops(Map<String,Object> orderMap);

}
